]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Compute arrowStride using sourceActor monitor as reference
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 8 Mar 2019 20:21:28 +0000 (14:21 -0600)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 11 Apr 2019 19:38:17 +0000 (19:38 +0000)
commit4892a87dfeacbba504fc20e1837a46cc2773eb42
tree56543b5c622fa486b69adb5dfdd924b856c84098
parent8b9c8ddb1ecac972fad7aad7e3033839f6fc027e
boxpointer: Compute arrowStride using sourceActor monitor as reference

I suppose this was also the goal of commit 96e14dc, but because it was checking
the value of the always-undefined this.sourceActor, it really never worked as
expected.

So, now since we assume that this._sourceActor is always defined just use it
as reference to compute the monitor menu position.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1029
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/435
js/ui/boxpointer.js